package pathways;

/**
 * Title:        Pathways
 * Description:  Pure Java version of the Pathways Project.
 * Copyright:    Copyright (c) 2002
 * Company:      Ants Technologies
 * @author Veejay Sani
 * @version 1.0
 */

public class CCoCompound
{
  public CCoCompound(CCompound c, int state)
  {
    cmpd = c;
    this.state = state;
  }
  
  public CCompound getCompound()
  {
    return cmpd;  
  }
  
  public int getState()
  {
    return state;  
  }
  
  public void setState(int state)
  {
    this.state = state;  
  }
  
  public int getParts()
  {
    return parts;  
  }
  
  public void setParts(int parts)
  {
    this.parts = parts;  
  }
  
  private CCompound cmpd;
  private int state;
  private int parts = 0;
  
  public static final int NORMAL = 0;
  public static final int NEW = 1;
  public static final int DELETE = 2;
  public static final int EDIT = 3;
}